package com.neuedu.spring.controller;

import com.neuedu.spring.service.DeptService;

/**
 * @author 金山
 * 项目：spring-learn
 * site: https://blog.fulfill.com.cn
 * 描述
 * @data 2025/3/1013:43
 */
public class DeptController {

    private DeptService deptService;

    public DeptController(DeptService deptService) {
        this.deptService = deptService;
    }

    public void list(){
        System.out.println("DeptController.list");
        deptService.queryList();
    }



}
